{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport _slicedToArray from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\n// eslint-disable-next-line import/no-named-as-default\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport genPurePanel from '../_util/PurePanel';\nimport Spin from '../spin';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport warning from '../_util/warning';\nimport useStyle from './style';\nvar Option = RcMentions.Option;\nexport { Option };\nfunction loadingFilterOption() {\n  return true;\n}\nvar InternalMentions = function InternalMentions(_a, ref) {\n  var _classNames;\n  var customizePrefixCls = _a.prefixCls,\n    className = _a.className,\n    disabled = _a.disabled,\n    loading = _a.loading,\n    filterOption = _a.filterOption,\n    children = _a.children,\n    notFoundContent = _a.notFoundContent,\n    options = _a.options,\n    customStatus = _a.status,\n    popupClassName = _a.popupClassName,\n    restProps = __rest(_a, [\"prefixCls\", \"className\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"options\", \"status\", \"popupClassName\"]);\n  var _React$useState = React.useState(false),\n    _React$useState2 = _slicedToArray(_React$useState, 2),\n    focused = _React$useState2[0],\n    setFocused = _React$useState2[1];\n  var innerRef = React.useRef();\n  var mergedRef = composeRef(ref, innerRef);\n  // =================== Warning =====================\n  if (process.env.NODE_ENV !== 'production') {\n    process.env.NODE_ENV !== \"production\" ? warning(!children, 'Mentions', '`Mentions.Option` is deprecated. Please use `options` instead.') : void 0;\n  }\n  var _React$useContext = React.useContext(ConfigContext),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    renderEmpty = _React$useContext.renderEmpty,\n    direction = _React$useContext.direction;\n  var _React$useContext2 = React.useContext(FormItemInputContext),\n    contextStatus = _React$useContext2.status,\n    hasFeedback = _React$useContext2.hasFeedback,\n    feedbackIcon = _React$useContext2.feedbackIcon;\n  var mergedStatus = getMergedStatus(contextStatus, customStatus);\n  var onFocus = function onFocus() {\n    if (restProps.onFocus) {\n      restProps.onFocus.apply(restProps, arguments);\n    }\n    setFocused(true);\n  };\n  var onBlur = function onBlur() {\n    if (restProps.onBlur) {\n      restProps.onBlur.apply(restProps, arguments);\n    }\n    setFocused(false);\n  };\n  var getNotFoundContent = function getNotFoundContent() {\n    if (notFoundContent !== undefined) {\n      return notFoundContent;\n    }\n    return (renderEmpty || defaultRenderEmpty)('Select');\n  };\n  var getOptions = function getOptions() {\n    if (loading) {\n      return /*#__PURE__*/React.createElement(Option, {\n        value: \"ANTD_SEARCHING\",\n        disabled: true\n      }, /*#__PURE__*/React.createElement(Spin, {\n        size: \"small\"\n      }));\n    }\n    return children;\n  };\n  var mergedOptions = loading ? [{\n    value: 'ANTD_SEARCHING',\n    disabled: true,\n    label: /*#__PURE__*/React.createElement(Spin, {\n      size: \"small\"\n    })\n  }] : options;\n  var getFilterOption = function getFilterOption() {\n    if (loading) {\n      return loadingFilterOption;\n    }\n    return filterOption;\n  };\n  var prefixCls = getPrefixCls('mentions', customizePrefixCls);\n  // Style\n  var _useStyle = useStyle(prefixCls),\n    _useStyle2 = _slicedToArray(_useStyle, 2),\n    wrapSSR = _useStyle2[0],\n    hashId = _useStyle2[1];\n  var mergedClassName = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-focused\"), focused), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), getStatusClassNames(prefixCls, mergedStatus), !hasFeedback && className, hashId);\n  var mentions = /*#__PURE__*/React.createElement(RcMentions, Object.assign({\n    prefixCls: prefixCls,\n    notFoundContent: getNotFoundContent(),\n    className: mergedClassName,\n    disabled: disabled,\n    direction: direction\n  }, restProps, {\n    filterOption: getFilterOption(),\n    onFocus: onFocus,\n    onBlur: onBlur,\n    dropdownClassName: classNames(popupClassName, hashId),\n    ref: mergedRef,\n    options: mergedOptions\n  }), getOptions());\n  if (hasFeedback) {\n    return /*#__PURE__*/React.createElement(\"div\", {\n      className: classNames(\"\".concat(prefixCls, \"-affix-wrapper\"), getStatusClassNames(\"\".concat(prefixCls, \"-affix-wrapper\"), mergedStatus, hasFeedback), className, hashId)\n    }, mentions, /*#__PURE__*/React.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-suffix\")\n    }, feedbackIcon));\n  }\n  return wrapSSR(mentions);\n};\nvar Mentions = /*#__PURE__*/React.forwardRef(InternalMentions);\nif (process.env.NODE_ENV !== 'production') {\n  Mentions.displayName = 'Mentions';\n}\nMentions.Option = Option;\n// We don't care debug panel\n/* istanbul ignore next */\nvar PurePanel = genPurePanel(Mentions, 'mentions');\nMentions._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nMentions.getMentions = function () {\n  var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _config$prefix = config.prefix,\n    prefix = _config$prefix === void 0 ? '@' : _config$prefix,\n    _config$split = config.split,\n    split = _config$split === void 0 ? ' ' : _config$split;\n  var prefixList = Array.isArray(prefix) ? prefix : [prefix];\n  return value.split(split).map(function () {\n    var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    var hitPrefix = null;\n    prefixList.some(function (prefixStr) {\n      var startStr = str.slice(0, prefixStr.length);\n      if (startStr === prefixStr) {\n        hitPrefix = prefixStr;\n        return true;\n      }\n      return false;\n    });\n    if (hitPrefix !== null) {\n      return {\n        prefix: hitPrefix,\n        value: str.slice(hitPrefix.length)\n      };\n    }\n    return null;\n  }).filter(function (entity) {\n    return !!entity && !!entity.value;\n  });\n};\nexport default Mentions;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","classNames","RcMentions","composeRef","React","ConfigContext","defaultRenderEmpty","FormItemInputContext","genPurePanel","Spin","getMergedStatus","getStatusClassNames","warning","useStyle","Option","loadingFilterOption","InternalMentions","_a","ref","customizePrefixCls","prefixCls","className","disabled","loading","filterOption","children","notFoundContent","options","customStatus","status","popupClassName","restProps","useState","focused","setFocused","innerRef","useRef","mergedRef","process","env","NODE_ENV","useContext","getPrefixCls","renderEmpty","direction","contextStatus","hasFeedback","feedbackIcon","mergedStatus","onFocus","apply","arguments","onBlur","getNotFoundContent","undefined","getOptions","createElement","value","size","mergedOptions","label","getFilterOption","wrapSSR","hashId","mergedClassName","mentions","assign","dropdownClassName","Mentions","forwardRef","displayName","PurePanel","_InternalPanelDoNotUseOrYouWillBeFired","getMentions","config","prefix","split","prefixList","Array","isArray","map","str","hitPrefix","some","prefixStr","startStr","slice","filter","entity"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/mentions/index.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\n// eslint-disable-next-line import/no-named-as-default\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport genPurePanel from '../_util/PurePanel';\nimport Spin from '../spin';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport warning from '../_util/warning';\nimport useStyle from './style';\nexport const {\n  Option\n} = RcMentions;\nfunction loadingFilterOption() {\n  return true;\n}\nconst InternalMentions = (_a, ref) => {\n  var {\n      prefixCls: customizePrefixCls,\n      className,\n      disabled,\n      loading,\n      filterOption,\n      children,\n      notFoundContent,\n      options,\n      status: customStatus,\n      popupClassName\n    } = _a,\n    restProps = __rest(_a, [\"prefixCls\", \"className\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"options\", \"status\", \"popupClassName\"]);\n  const [focused, setFocused] = React.useState(false);\n  const innerRef = React.useRef();\n  const mergedRef = composeRef(ref, innerRef);\n  // =================== Warning =====================\n  if (process.env.NODE_ENV !== 'production') {\n    process.env.NODE_ENV !== \"production\" ? warning(!children, 'Mentions', '`Mentions.Option` is deprecated. Please use `options` instead.') : void 0;\n  }\n  const {\n    getPrefixCls,\n    renderEmpty,\n    direction\n  } = React.useContext(ConfigContext);\n  const {\n    status: contextStatus,\n    hasFeedback,\n    feedbackIcon\n  } = React.useContext(FormItemInputContext);\n  const mergedStatus = getMergedStatus(contextStatus, customStatus);\n  const onFocus = function () {\n    if (restProps.onFocus) {\n      restProps.onFocus.apply(restProps, arguments);\n    }\n    setFocused(true);\n  };\n  const onBlur = function () {\n    if (restProps.onBlur) {\n      restProps.onBlur.apply(restProps, arguments);\n    }\n    setFocused(false);\n  };\n  const getNotFoundContent = () => {\n    if (notFoundContent !== undefined) {\n      return notFoundContent;\n    }\n    return (renderEmpty || defaultRenderEmpty)('Select');\n  };\n  const getOptions = () => {\n    if (loading) {\n      return /*#__PURE__*/React.createElement(Option, {\n        value: \"ANTD_SEARCHING\",\n        disabled: true\n      }, /*#__PURE__*/React.createElement(Spin, {\n        size: \"small\"\n      }));\n    }\n    return children;\n  };\n  const mergedOptions = loading ? [{\n    value: 'ANTD_SEARCHING',\n    disabled: true,\n    label: /*#__PURE__*/React.createElement(Spin, {\n      size: \"small\"\n    })\n  }] : options;\n  const getFilterOption = () => {\n    if (loading) {\n      return loadingFilterOption;\n    }\n    return filterOption;\n  };\n  const prefixCls = getPrefixCls('mentions', customizePrefixCls);\n  // Style\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const mergedClassName = classNames({\n    [`${prefixCls}-disabled`]: disabled,\n    [`${prefixCls}-focused`]: focused,\n    [`${prefixCls}-rtl`]: direction === 'rtl'\n  }, getStatusClassNames(prefixCls, mergedStatus), !hasFeedback && className, hashId);\n  const mentions = /*#__PURE__*/React.createElement(RcMentions, Object.assign({\n    prefixCls: prefixCls,\n    notFoundContent: getNotFoundContent(),\n    className: mergedClassName,\n    disabled: disabled,\n    direction: direction\n  }, restProps, {\n    filterOption: getFilterOption(),\n    onFocus: onFocus,\n    onBlur: onBlur,\n    dropdownClassName: classNames(popupClassName, hashId),\n    ref: mergedRef,\n    options: mergedOptions\n  }), getOptions());\n  if (hasFeedback) {\n    return /*#__PURE__*/React.createElement(\"div\", {\n      className: classNames(`${prefixCls}-affix-wrapper`, getStatusClassNames(`${prefixCls}-affix-wrapper`, mergedStatus, hasFeedback), className, hashId)\n    }, mentions, /*#__PURE__*/React.createElement(\"span\", {\n      className: `${prefixCls}-suffix`\n    }, feedbackIcon));\n  }\n  return wrapSSR(mentions);\n};\nconst Mentions = /*#__PURE__*/React.forwardRef(InternalMentions);\nif (process.env.NODE_ENV !== 'production') {\n  Mentions.displayName = 'Mentions';\n}\nMentions.Option = Option;\n// We don't care debug panel\n/* istanbul ignore next */\nconst PurePanel = genPurePanel(Mentions, 'mentions');\nMentions._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nMentions.getMentions = function () {\n  let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  let config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  const {\n    prefix = '@',\n    split = ' '\n  } = config;\n  const prefixList = Array.isArray(prefix) ? prefix : [prefix];\n  return value.split(split).map(function () {\n    let str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    let hitPrefix = null;\n    prefixList.some(prefixStr => {\n      const startStr = str.slice(0, prefixStr.length);\n      if (startStr === prefixStr) {\n        hitPrefix = prefixStr;\n        return true;\n      }\n      return false;\n    });\n    if (hitPrefix !== null) {\n      return {\n        prefix: hitPrefix,\n        value: str.slice(hitPrefix.length)\n      };\n    }\n    return null;\n  }).filter(entity => !!entity && !!entity.value);\n};\nexport default Mentions;"],"mappings":";;AAAA,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAClD,IAAIC,CAAC,GAAG,CAAC,CAAC;EACV,KAAK,IAAIC,CAAC,IAAIH,CAAC;IAAE,IAAII,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACP,CAAC,EAAEG,CAAC,CAAC,IAAIF,CAAC,CAACO,OAAO,CAACL,CAAC,CAAC,GAAG,CAAC,EAAED,CAAC,CAACC,CAAC,CAAC,GAAGH,CAAC,CAACG,CAAC,CAAC;EAAC;EACjG,IAAIH,CAAC,IAAI,IAAI,IAAI,OAAOI,MAAM,CAACK,qBAAqB,KAAK,UAAU,EAAE,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEP,CAAC,GAAGC,MAAM,CAACK,qBAAqB,CAACT,CAAC,CAAC,EAAEU,CAAC,GAAGP,CAAC,CAACQ,MAAM,EAAED,CAAC,EAAE,EAAE;IAC3I,IAAIT,CAAC,CAACO,OAAO,CAACL,CAAC,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